<template>
	<view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		
		onLoad(option){
			uni.setStorageSync('token',option.token)
			uni.setStorageSync('card1Id',option.classId)
			uni.setStorageSync('applyType',option.applyType)
			console.log(option.classId)
			if(option.classId){
				uni.redirectTo({
					url: '../sellCard1/sellCard1'
				})
			}else{
				uni.switchTab({
					url: '../index/index'
				})
						
			}
			// uni.navigateTo({
			// 	url: '../index/index'
			// });
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
